package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class MonitorBlockHandler {
    public  static String helloBlockHandler(BlockException e) {
        System.out.println(e.toString());
        return "系统繁忙，请稍后再试一试";
    }
}
